Package-level declarations
Types
Link copied to clipboard
OutputChannel that responds in a Discord channel, updating a progress message as needed.
Link copied to clipboard
class ChatbotSessionEventListener(discordSessionService: DiscordSessionService, chatbot: Chatbot, asyncer: Asyncer, discordConfigProperties: DiscordConfigProperties)
Discord SessionEventListener that uses an Embabel Chatbot
Link copied to clipboard
class DelegatingDiscordUserInfo(val discordUser: <Error class: unknown class>, isDirectMessage: Boolean = false) : DiscordUserInfo
Link copied to clipboard
Link copied to clipboard
Adds all event listeners defined in the context to JDA builder and starts the bot if token is provided.
Link copied to clipboard
object DiscordMessageUtils
Link copied to clipboard
Link copied to clipboard
class DiscordSessionService
Service to manage Discord user sessions.
Link copied to clipboard
Embabel User associated with a Discord user.
Link copied to clipboard
Link copied to clipboard
interface DiscordUserInfo
Our own representation of a Discord user. An interface so that it a concrete class can be persisted with JPA, OGM etc.
Link copied to clipboard
data class DiscordUserSession(val user: DiscordUser, val isDirectMessage: Boolean, val channelId: String, val serverId: String? = null, val serverName: String? = null, val createdAt: LocalDateTime = LocalDateTime.now(), var lastActivity: LocalDateTime = LocalDateTime.now(), val sessionData: MutableMap<String, Any> = mutableMapOf())